<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>万花筒</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: black;
        }
        .wonhot{
            width: 200px;
            height: 300px;
            /* background: #ff9966; */
            margin: 150px auto;
            position: relative;
            transform-style: preserve-3d;
            transform: rotateX(-10deg);
            animation: move 9s linear  infinite ;
            
        }
        .continaner{
            width: 200px;
            height: 300px;
            /* background: #ffff00; */
            position: absolute;

        }
        img{
            width: 200px;
            height: 300px;
        }
        .continaner:nth-of-type(1){
            transform: rotateY(0deg) translateZ(275px);
        }
        .continaner:nth-of-type(2){
            transform: rotateY(50deg) translateZ(275px);
        }
        .continaner:nth-of-type(3){
            transform: rotateY(100deg) translateZ(275px);
        }
        .continaner:nth-of-type(4){
            transform: rotateY(150deg) translateZ(275px);
        }
        .continaner:nth-of-type(5){
            transform: rotateY(200deg) translateZ(275px);
        }
        .continaner:nth-of-type(6){
            transform: rotateY(250deg) translateZ(275px);
        }
        .continaner:nth-of-type(7){
            transform: rotateY(300deg) translateZ(275px);
        }
        .continaner:nth-of-type(8){
            transform: rotateY(360deg) translateZ(275px);
        }
        /* .continaner:nth-of-type(9){
            transform: rotateY(320deg) translateZ(275px);
        } */
        @keyframes move {
            0%{ 
                transform: rotateY(0deg) ;
            }
            50%{   
                transform: rotateY(180deg) ;
            }
            100%{  
                transform: rotateY(360deg) ;
            }
            
        }
    </style>
</head>
<body>
    <div class="wonhot">
        <div class="continaner">
            <img src="images/1.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/2.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/3.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/4.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/5.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/6.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/7.jpg" alt="">
        </div>
        <div class="continaner">
            <img src="images/8.jpg" alt="">
        </div>
        <!-- <div class="continaner">
            <img src="images/8.jpg" alt="">
        </div> -->
    </div>
</body>
</html>